package cn.com.nes.mybatis.agent.crm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 客户跟进记录表
 * @TableName log_claim
 */
@TableName(value ="log_claim")
@Data
public class LogClaim implements Serializable {
    /**
     * 主键ID
     */
    @TableId(value = "uuid")
    private String uuid;

    /**
     * 线索ID
     */
    @TableField(value = "clueId")
    private String clueid;

    /**
     * 客户ID
     */
    @TableField(value = "customerId")
    private String customerid;

    /**
     * 商机ID
     */
    @TableField(value = "opportunityId")
    private String opportunityid;

    /**
     * 项目ID
     */
    @TableField(value = "projectId")
    private String projectid;

    /**
     * 操作类型 1 线索 2 客户 3 商机 4 项目
     */
    @TableField(value = "type")
    private String type;

    /**
     * 拜访用户ID
     */
    @TableField(value = "userid")
    private String userid;

    /**
     * 拜访用户名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 拜访类型
     */
    @TableField(value = "visittype")
    private String visittype;

    /**
     * 拜访地址
     */
    @TableField(value = "visitaddress")
    private String visitaddress;

    /**
     * 拜访时间
     */
    @TableField(value = "visittime")
    private Date visittime;

    /**
     * 拜访内容
     */
    @TableField(value = "visitcontent")
    private String visitcontent;

    /**
     * 所属公司
     */
    @TableField(value = "companyId")
    private String companyid;

    /**
     * 图片
     */
    @TableField(value = "imagelist")
    private String imagelist;

    /**
     * 
     */
    @TableField(value = "isdelete")
    private String isdelete;

    /**
     * 
     */
    @TableField(value = "createUid")
    private String createuid;

    /**
     * 
     */
    @TableField(value = "createTime")
    private Date createtime;

    /**
     * 修改者uid
     */
    @TableField(value = "modifyUid")
    private String modifyuid;

    /**
     * 修改时间
     */
    @TableField(value = "modifyTime")
    private Date modifytime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}